package com.ruoyi.common.enums;

/**
 * 业务 返回信息 枚举类
 *
 * @author Jyl
 */
public enum RoleEnum
{


    ADMIN("超级管理员", "admin"),
    CEO("总经理", "ceo"),
    MANAGER("主管角色", "bumenzhuguan"),
    COMMON("普通角色", "xiaozuzuyuan"),
    CUSTOMER_SERVICE("客户角色", "customer_service"),
    CAIWU("财务", "caiwu"),
    PINPAIJINGLI("品牌经理/事业部总监", "pinpaijingli"),
    GROUPLEADER("组长角色", "xiaozuzuzhang");




    /**
     * 提示信息
     */
    private String name;
    /**
     * 错误编码
     */
    private String code;

    public String getMsg()
    {
        return name;
    }

    public void setMsg(String msg)
    {
        this.name = msg;
    }

    public String getCode()
    {
        return code;
    }

    public void setCode(String code)
    {
        this.code = code;
    }

    RoleEnum(String msg, String code)
    {
        this.name = msg;
        this.code = code;
    }
}
